package _09define._02;

public class Demo {
    public static void main(String[] args) {
        Dog dog=new Dog();
        System.out.println(dog.age);
        dog.eat();
    }
}
class Animal{
    int age;
    public void eat(){
        System.out.println("开吃");
    }

}
class Dog extends Animal{
}